package com.siae.pojo.vo;


import com.siae.pojo.Item;

public class ItemVo extends Item {
    private String imagePath;
    private String typeStr;
    private String statusStr;
    private String filePath;

    public String getTypeStr() {
        return typeStr;
    }

    public void setTypeStr(String typeStr) {
        this.typeStr = typeStr;
    }

    public String getStatusStr(Integer status) {
        if (status != null) {
            switch (status) {
                case 0:
                    return "草稿";
                case 1:
                    return "已提交";
                case 2:
                    return "审核中";
                case 3:
                    return "已通过";
                case 4:
                    return "已驳回";
                case 5:
                    return "已完成";
            }
        }
        return null;
    }

    public String getStatusStr() {
        return statusStr;
    }

    public void setStatusStr (String statusStr){
        this.statusStr = statusStr;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }
}